package com.gxa.meiye.admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gxa.meiye.admin.mapper.IdCardMapper;
import com.gxa.meiye.admin.service.IdCardService;
import com.gxa.meiye.core.pojo.entity.IdCard;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author chen
 * @date 2022/7/19 18:56
 */
@Service
public class IdCardServiceImpl extends ServiceImpl<IdCardMapper,IdCard> implements IdCardService {

    @Resource
    private IdCardMapper idCardMapper;

    @Override
    public IdCard queryByTherapistId(Integer id) {
        return this.idCardMapper.getOneByTherapistId(id);
    }
}